export const getters = {
  dict: state => state.dict.dict,
  token: state => state.user.token,
  id: state => state.user.id,
  name: state => state.user.name,
  avatar: state => state.user.avatar,
  roles: state => state.user.roles,
  menuNavRoute: state => state.permission.menuNavRoute,
  isBackstage: state => state.menu.isBackstage,
  isPlatForm: state => state.menu.isPlatForm,
  isQian: state => state.menu.isQian,
  permissions: state => state.user.permissions,
  inFilePrefix: state => state.config.inFilePrefix,
  outFilePrefix: state => state.config.outFilePrefix,
  livePreview: state => state.config.livePreview
};

export default getters;
